﻿namespace FastCode.Architecture
{
    public class FieldMetadataAttribute : Attribute
    {

        public string Label { get; }
        /// <summary>
        /// 是否为不可为空的字符串
        /// </summary>
        public bool IsNotNullString { get; }
        public FieldMetadataAttribute(string label, bool isNotNullString = false)
        {
            Label = label;
            IsNotNullString = isNotNullString;
        }

    }
}
